Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cherry-pick]Move sum op to PHI && Fix MetaTensor's bug when run infermeta #49341

Closed
wants to merge 243 commits into from

Conversation

YuanRisheng
Copy link
Contributor

PR types

Bug fixes

PR changes

Others

Describe

Cherry-pick #45860 and #46265

From00 and others added 30 commits September 13, 2022 11:09
PaddlePaddle#45898) (PaddlePaddle#45931)

* Allow manaully set py_reader name in standalone executor

* Fix CI errors
* cherry pick delay tensorrt log
* Update trt_plugin.h
* Support dynamic shape in multiclass_nms3 Plugin for Paddle-TensorRT.
* fix arm fp16 compile error

* polish macro impl
…#46066)

* delete eigen header in data_type.h

* fix complie bug

* refactor
…undefined-var (PaddlePaddle#45916) (PaddlePaddle#46020)

* fix select_input with different shape errors:
1. select_input_with_buildin_type directly return non-undefinedvar branch when meeting undefined var
2. the output shape of select_input is inferred from inputs.

* reverse the logic in select_input
* normalize yaml file name (PaddlePaddle#45894)

* Clear extra attributes of activation op in OpMaker (PaddlePaddle#45772)

* clear extra attr of activation op in opmaker

* fix syntax bug

* fix mkldnn kernel

* fix merge conflict

* fix bug

* [PHI] Normalize yaml op label (PaddlePaddle#45976)

* normalize yaml op label

* revert op_compat yaml change

* fix prelu and rnn compat problem

* replace api by op

* support assign op backward refuse forward (PaddlePaddle#45879)

* normize yaml backward op label (PaddlePaddle#46028)

Co-authored-by: zyfncg <zhangyunfei07@baidu.com>
Co-authored-by: Charles-hit <56987902+Charles-hit@users.noreply.github.com>
* skip forward save

* fix bug

* more ci for jit skip forward
…s for fill_any_like op (PaddlePaddle#46079)

* Fix split bug in static mode (PaddlePaddle#45906)

* fix split bug in static mode

* modify code style

* modify code style

* add unit test for split

* add convert rules for fill_any_like op in paddle science (PaddlePaddle#45985)

* add convert rules for fill_any_like op in paddle science

* add unit test for fill_any_like op in paddle science

* modify fill_any_like convert rule

* modify fill_any_like convert rule dtype
* back fl

* delete ssl cert

* .

* make warning

* .

* unittest paral degree

* solve unittest

* heter & multi cloud commm ready

* .

* .

* fix gloo compile warning

* adapt for nn fl-ps
…lePaddle#46113)

* unify  core_avx and core_noavx

* fix except error

* revert mac compile logic

* revert dylib to so

* add core_noavx branch

* remove core_noavx

* replace paddle_core by lib paddle

* polish var name

* replace paddle_core by libpaddle

* update custom device commit

* polish code by comments
* make eager log readable

* fix compile error

* recover test

* invoke ci again
FeixLiu and others added 28 commits November 7, 2022 14:08
* PaddlePaddle#46165

* PaddlePaddle#45752

* fix some doc bug test=document_fix (PaddlePaddle#45488)

* fix some doc bug test=document_fix

* fix some docs issues, test=document_fix

* beta -> \beta in softplus

* threshold -> \varepsilon in softplus

* parameter name

* delta -> \delta in smooth_l1_loss

* fix some docs test=document_fix

* fix docs test=document_fix

* fix docs && 增加空行 test=document_fix

* Update python/paddle/nn/functional/activation.py, test=document_fix

* Update python/paddle/nn/layer/activation.py, test=document_fix

Co-authored-by: SigureMo <sigure.qaq@gmail.com>

* [docs] add ipustrategy Hyperlink (PaddlePaddle#46422)

* [docs] add ipustrategy Hyperlink

* fix ipu_shard_guard docs; test=document_fix

* [docs] add set_ipu_shard note

* [docs] fix hyperlink

* update framework.py

* fix mlu_places docs; test=document_fix

* fix put_along_axis docs; test=document_fix

* fix flake8 W293 error, test=document_fix

* fix typo in typing, test=document_fix

Co-authored-by: Ligoml <39876205+Ligoml@users.noreply.github.com>
Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>

* PaddlePaddle#46659

* Update README_cn.md (PaddlePaddle#46927)

修复了错别字

* PaddlePaddle#46738

* fix paddle.get_default_dtype (PaddlePaddle#47040)

Chinese and English return values are inconsistent

* fix bug

Co-authored-by: 张春乔 <83450930+Liyulingyue@users.noreply.github.com>
Co-authored-by: Infinity_lee <luhputu0815@gmail.com>
Co-authored-by: mrcangye <chenloong@88.com>
Co-authored-by: SigureMo <sigure.qaq@gmail.com>
Co-authored-by: gouzil <66515297+gouzil@users.noreply.github.com>
Co-authored-by: Hamid Zare <12127420+hamidzr@users.noreply.github.com>
Co-authored-by: Sqhttwl <61459740+Sqhttwl@users.noreply.github.com>
Co-authored-by: OccupyMars2025 <31559413+OccupyMars2025@users.noreply.github.com>
Co-authored-by: 超级码牛 <54444805+SuperCodebull@users.noreply.github.com>
Co-authored-by: jzhang533 <jzhang533@gmail.com>
…hape2 fuse passes (PaddlePaddle#47690)

* fc cherrypick

* another files added

* added transpose cherrypick

* reverter somebodys fc changes

* minor fix

* minor fix

* cherry-pick of fc+act changes

* minor fix

* fix
…47712)

* suqeeze2 + transpose2 fuse onednn cherrypick 2.4

* format

* fix merge
…addlePaddle#47577)

* remove functions not belong to public-api from __all__

* fix code style

* fix error in distributed
…a version is incompatible with installed cuda version (PaddlePaddle#47744)

* cherry-pick pr47743

* fix

* fix

* fix
* Fix Python Link Order Error (PaddlePaddle#46259)

* fix cc_library link python lib (PaddlePaddle#47605)

* fix cc_library link python lib

Co-authored-by: engineer <1292846099@qq.com>
Co-authored-by: wanghuancoder <wanghuan29@baidu.com>
* cherry-pick recompute doc update.

* update.
… (PaddlePaddle#47887)

* fix slice bugs

* fix

* update code

* fix

* update code
* finx mac link python

* refine
* fixdocs, test=document_fix

* fixdocs, test=document_fix
* Reduce squeeze2_matmul_fuse_pass, flattent tests time (PaddlePaddle#47098)

* Add missing fp32 config and reduce the testing combination

* Reduce trt matmul pass test max examples

* Loose TRT fp16 tests tolerance (PaddlePaddle#47100)

* Loose TRT half test tolerance to 1e-3 (PaddlePaddle#47101)

* Loose TRT half test tolerance to 1e-3 (PaddlePaddle#47106)

* Update distributed_strategy.proto (PaddlePaddle#46531)

* Close popen pipe after used (PaddlePaddle#47053)

* Add launch_bounds (PaddlePaddle#47285)

* Fix TRT UT failures (PaddlePaddle#47488)

* Format cherry-picked commits

* CudnnNormConvolution is no longer supported on NVIDIA Hopper GPUs (PaddlePaddle#48203)

* Skip tests that use fused_ops on H100

* Add error message to FusedOps on H100

Co-authored-by: Shijie <505749828@qq.com>
Co-authored-by: Leo Chen <39020268+leo0519@users.noreply.github.com>
Co-authored-by: Tian Zheng <tizheng@nvidia.com>
…ze_transpose for MKLDNN (PaddlePaddle#47951)

* Fix slice bugs in MKLDNN when input dims are zeros (PaddlePaddle#46671)

* fix slice bugs

* fix

* update code

* fix

* update code

* updating mul and matmul with set_mem_desc (PaddlePaddle#45624)

* - mul & matmul changes

- fix

- bs16 correction of strides

* - cosmetic fixes

* - lint

* - fix

* - fix

* - format -> mem_desc

* - fix

* - fix

* - fix

* - fix

* - fix

* fix squueze_transpose (PaddlePaddle#47911)

Co-authored-by: Jacek Czaja <jacek.czaja@intel.com>
…dle#49077)

* [Release2.4] Revert python link prs (PaddlePaddle#48573)

* Revert "Fix mac link python (PaddlePaddle#48017)"

This reverts commit 3fa7a73.

* Revert "[Cherry-pick] Fix python link error (PaddlePaddle#47811)"

This reverts commit ff642c6.

* Update config.go

* [Paddle Inference] Add float_to_half_pass to support  inference with mixed precision (PaddlePaddle#47993)

* [Inference] optimize some code and fix some bug (PaddlePaddle#48780)

* clean ir_pass_manager and fix map_depthwise_conv_to_conv_pass

* fix unitest timeout

* [Paddle Inference] clean unused code  (PaddlePaddle#48392)

* fix

* update

* update

Co-authored-by: Chen Weihang <chenweihang@baidu.com>
* [Release2.4] Revert python link prs (PaddlePaddle#48573)

* Revert "Fix mac link python (PaddlePaddle#48017)"

This reverts commit 3fa7a73.

* Revert "[Cherry-pick] Fix python link error (PaddlePaddle#47811)"

This reverts commit ff642c6.

* Update config.go

* fix mixed precision inference

Co-authored-by: Chen Weihang <chenweihang@baidu.com>
* fix sum bug

* fix ci bugs

* fix ci bugs

* update code according comment
@paddle-bot
Copy link

paddle-bot bot commented Dec 26, 2022

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.